import { createApi } from "cube-ui"
import Vue from "vue"
import HeaderDetail from "components/header-detail/header-detail"
import ShopCartList from "components/shop-cart-list/shop-cart-list"
import ShopCartSticky from "components/shop-cart-sticky/shop-cart-sticky"
import Food from "components/food/food"

// 创建api  可以通过 $createHeaderDetail 来获取这个组件
createApi(Vue, HeaderDetail)

// 购物车列表
createApi(Vue, ShopCartList)

// 购物车粘度
createApi(Vue, ShopCartSticky)

// 商品详情
createApi(Vue, Food)
